home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / Tools / Mac / Startups / Startup•ODFInternet < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.4 KB  |  42 lines  |  [TEXT/MPS ]

  1. #========================================================================================
  2. #    
  3. #    File:                Startup•ODFInternet
  4. #    Release Version:    $ ODF 2 $
  5. #    
  6. #    Copyright:    (c) 1993 - 1995 by Apple Computer, Inc., all rights reserved.
  7. #    
  8. #    This file sets ODF variables for building with Cyberdog support.
  9. #    
  10. #    The "Cyberdog SDK" must be located in your MPW Interfaces&Libraries
  11. #    folder (ETO 20 and later). Current layout is:
  12. #        Cyberdog SDK:PublicIncludes:≈.{h,xh,idl}
  13. #        Cyberdog SDK:ICTypes.h
  14. #        Cyberdog SDK:Cyberdog.Stub
  15. #    
  16. #========================================================================================
  17.  
  18. Set FWCyberdogSDKName "Cyberdog SDK"
  19.  
  20. If ¬ "{InterfacesandLibrariesLocation}"
  21.     Set InterfacesandLibrariesLocation "{Libraries}::"
  22. End
  23.  
  24. Set FWCyberdogIncludes            "{InterfacesandLibrariesLocation}{FWCyberdogSDKName}:PublicIncludes:"
  25. Set FWCyberdogLibraries            "{InterfacesandLibrariesLocation}{FWCyberdogSDKName}:"
  26. Set FWInternetConfigIncludes     "{InterfacesandLibrariesLocation}{FWCyberdogSDKName}:"
  27.  
  28. If ¬ "`Exists "{FWCyberdogLibraries}Cyberdog.Stub"`"
  29.     Echo "### Can’t determine the location of the Cyberdog SDK!"
  30.     Set odir "``Directory``"
  31.     Directory "{InterfacesandLibrariesLocation}"
  32.     Set cdir "``Directory``"
  33.     Directory {odir}
  34.     Echo "# The SDK needs to be in {cdir}"
  35.     Exit 1
  36. End
  37.  
  38. Export FWCyberdogIncludes
  39. Export FWCyberdogLibraries
  40. Export FWInternetConfigIncludes
  41.  
  42.